package filter;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import javax.servlet.annotation.WebServlet;

import spider.xwqyjdzb;

@WebListener
public class ContextManage implements ServletContextListener{

	public ContextManage()
	{
	}
	
	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("容器销毁.....................");
	}


	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		System.out.println("容器启动.....................");
//		xwqyjdzb.doIt();
	}

}
